﻿<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>
<%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls"
    Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="OfficeRecord.aspx.cs" Inherits="SP_XHWeb.Layouts.SP_XHWeb.OfficeRecord"
    MasterPageFile="~/_layouts/SP_XHWeb/blank.master" %>

<asp:Content ID="PageHead" ContentPlaceHolderID="ContentPlaceHolderHead" runat="server">
</asp:Content>
<asp:Content ID="Main" ContentPlaceHolderID="ContentPlaceHolderMain" runat="server">
    <div class="office_top">
        档案目录查询</div>
    <div class="office_container">
        <!-- 当前位置 开始 -->
        <div class="office_location">
            <a href="/default.aspx">星浩门户网站</a> 档案目录查询</div>
        <!-- 当前位置 结束 -->
        <div class="clear">
        </div>
        <div class="office_main">
            <div class="office_page_main">
                <!--搜索 开始 -->
                <div class="office_page_main_so" style="height:100px !important;">
                    <div class="office_page_main_so_bd">
                        <table>
                            <tr>
                                <td width="100px">
                                    类型:<asp:DropDownList ID="ddl1" runat="server">
                                        <asp:ListItem Text="选择类型" Selected="True"></asp:ListItem>
                                        <asp:ListItem Text="采购合同"></asp:ListItem>
                                        <asp:ListItem Text="设计合同"></asp:ListItem>
                                        <asp:ListItem Text="合作合同"></asp:ListItem>
                                        <asp:ListItem Text="服务合同"></asp:ListItem>
                                        <asp:ListItem Text="工程合同"></asp:ListItem>
                                        <asp:ListItem Text="代理合同"></asp:ListItem>
                                        <asp:ListItem Text="委托合同"></asp:ListItem>
                                        <asp:ListItem Text="技术合同"></asp:ListItem>
                                        <asp:ListItem Text="顾问合同"></asp:ListItem>
                                        <asp:ListItem Text="基建合同"></asp:ListItem>
                                        <asp:ListItem Text="咨询合同"></asp:ListItem>
                                        <asp:ListItem Text="租赁合同"></asp:ListItem>
                                        <asp:ListItem Text="投资合同"></asp:ListItem>
                                        <asp:ListItem Text="项目合同"></asp:ListItem>
                                        <asp:ListItem Text="财务合同"></asp:ListItem>
                                        <asp:ListItem Text="销售合同"></asp:ListItem>
                                        <asp:ListItem Text="转让合同"></asp:ListItem>
                                    </asp:DropDownList>
                                </td>
                                <td width="180px">
                                    合同名称:<asp:TextBox ID="txt1" runat="server"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    签订人:<asp:TextBox ID="txtPerson" runat="server"></asp:TextBox>
                                </td>
                                <td width="200px">
                                    合同责任人:<asp:TextBox ID="txtCompany" width="200px" runat="server"></asp:TextBox>
                                </td>
                                <td style="vertical-align: bottom;">
                                    <asp:ImageButton CssClass="butt" ID="imb1" ImageUrl="/_layouts/images/SP_XHWeb/button.gif"
                                        runat="server" OnClick="imb1_Click" />
                                </td>
                            </tr>
                            <tr>
                                <td colspan="5">
                                    日期:(格式如 2012-01-01)<br/><asp:TextBox ID="txtDate" runat="server"></asp:TextBox>&nbsp;至&nbsp;<asp:TextBox ID="txtEndDate" runat="server"></asp:TextBox><asp:Label ID="lblMsg" runat="server" style="color:Red;"></asp:Label>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <!--搜索 结束 -->
                <div class="office_page_box">
                    <table width="980" border="0" cellspacing="0" cellpadding="0" class="office_page_table">
                        <tr>
                            <td>
                                <asp:GridView ID="gvOR" runat="server" OnPageIndexChanging="gvOR_PageIndexChanging"
                                    AllowPaging="true" PageSize="20" AutoGenerateColumns="false" CssClass="office_page_table"
                                    HeaderStyle-CssClass="title" GridLines="None" AlternatingRowStyle-CssClass="ys"
                                    EmptyDataText=" 暂无数据...">
                                    <Columns>
                                        <asp:BoundField ItemStyle-Width="150px" HeaderStyle-Width="150px" HeaderStyle-CssClass="myitem"
                                            ItemStyle-CssClass="myitem" DataField="Number" HeaderText="合同编号" />
                                        <asp:BoundField ItemStyle-Width="80px" HeaderStyle-Width="80px" HeaderStyle-CssClass="myitem"
                                            ItemStyle-CssClass="myitem" DataField="CDate" HeaderText="日期" />
                                        <asp:BoundField ItemStyle-Width="150px" HeaderStyle-Width="150px" HeaderStyle-CssClass="myitem"
                                            ItemStyle-CssClass="myitem" DataField="ChargePerson" HeaderText="合同责任人" />
                                        <asp:BoundField ItemStyle-Width="150px" HeaderStyle-Width="150px" HeaderStyle-CssClass="myitem"
                                            ItemStyle-CssClass="myitem" DataField="Title" HeaderText="合同名称" />
                                        <asp:BoundField ItemStyle-Width="70px" HeaderStyle-Width="70px" HeaderStyle-CssClass="myitem"
                                            ItemStyle-CssClass="myitem" DataField="Money" HeaderText="合同金额" />
                                        <asp:BoundField ItemStyle-Width="70px" HeaderStyle-Width="70px" HeaderStyle-CssClass="myitem"
                                            ItemStyle-CssClass="myitem" DataField="Validity" HeaderText="合同有效期" />
                                        <asp:BoundField ItemStyle-Width="30px" HeaderStyle-Width="30px" HeaderStyle-CssClass="myitem"
                                            ItemStyle-CssClass="myitem" DataField="Page" HeaderText="页数" />
                                        <asp:BoundField ItemStyle-Width="60px" HeaderStyle-Width="60px" HeaderStyle-CssClass="myitem"
                                            ItemStyle-CssClass="myitem" DataField="IsCopy" HeaderText="原复印件" />
                                        <asp:BoundField ItemStyle-Width="50px" HeaderStyle-Width="50px" HeaderStyle-CssClass="myitem"
                                            ItemStyle-CssClass="myitem" DataField="SignPerson" HeaderText="签订人" />
                                        <asp:BoundField ItemStyle-Width="50px" HeaderStyle-Width="50px" HeaderStyle-CssClass="myitem"
                                            ItemStyle-CssClass="myitem" DataField="TranPerson" HeaderText="移交人" />
                                        <asp:BoundField HeaderStyle-CssClass="myitem" ItemStyle-CssClass="myitem" DataField="Remark"
                                            HeaderText="备注" />
                                    </Columns>
                                    <PagerStyle CssClass="my_next_page" Font-Underline="true" />
                                </asp:GridView>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
<asp:Content ID="PageTitle" ContentPlaceHolderID="ContentPlaceHolderTitle" runat="server">
    档案目录查询
</asp:Content>
